package com.itrip.itripauth;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author: 罗坤
 * @description: 业务模块启动类
 * @date: 2020/2/26 10:07
 */
@MapperScan(basePackages = "com.itrip.itripauth.mapper")
//@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
/* 自动填充新增时间，修改时间，记得要这个注释*/
@SpringBootApplication
@ComponentScan(basePackages = {"com.itrip.itripauth","com.itrip.common"})
//开启定时任务
@EnableScheduling
public class ItripAuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(ItripAuthApplication.class, args);
    }
}
